package com.ruoyi.secondvitim.domain;

import com.fasterxml.jackson.annotation.JsonProperty;
import com.fasterxml.jackson.databind.annotation.JsonDeserialize;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

import java.util.List;
import java.util.Map;

/**
 * 提交问卷对象 que_submit_form
 * 
 * @author alonso
 * @date 2022-02-21
 */
public class QueSubmitForm extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** id */
    private Long id;

    @Excel(name = "提交人ID")
    private Long userId;

    /** 提交表单id */
    @Excel(name = "提交表单id")
    private Long formId;

    /** 阶段 */
    @Excel(name = "阶段")
    private String stage;

    /** 问卷类型 */
    @Excel(name = "问卷类型")
    private String type;
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  
    /** 问卷标题 */
    @Excel(name = "问卷标题")
    private String title;

    /** 总得分 */
    @Excel(name = "总得分")
    private String total;

    private List<Map<String, Object>> submitFormDetailList;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setFormId(Long formId) 
    {
        this.formId = formId;
    }

    public Long getFormId() 
    {
        return formId;
    }
    public void setStage(String stage) 
    {
        this.stage = stage;
    }

    public String getStage() 
    {
        return stage;
    }
    public void setType(String type) 
    {
        this.type = type;
    }

    public String getType() 
    {
        return type;
    }
    public void setTitle(String title) 
    {
        this.title = title;
    }

    public String getTitle() 
    {
        return title;
    }
    public void setTotal(String total) 
    {
        this.total = total;
    }

    public String getTotal() 
    {
        return total;
    }

    public Long getUserId() {
        return userId;
    }

    public void setUserId(Long userId) {
        this.userId = userId;
    }

    public List<Map<String, Object>> getSubmitFormDetailList() {
        return submitFormDetailList;
    }

    public void setSubmitFormDetailList(List<Map<String, Object>> submitFormDetailList) {
        this.submitFormDetailList = submitFormDetailList;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("formId", getFormId())
            .append("stage", getStage())
            .append("type", getType())
            .append("title", getTitle())
            .append("total", getTotal())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .append("remark", getRemark())
            .toString();
    }
}
